﻿using Xamarin.Forms;
using DailyPoetryX.Views;

namespace DailyPoetryX {
    public partial class App : Application {
        // UIParent used by Android version of the app
        public static object AuthUIParent;

        // Keychain security group used by iOS version of the app
        public static string iOSKeychainSecurityGroup;

        private static MainPage _mainPage;

        public App() {
            InitializeComponent();
            MainPage = _mainPage ?? (_mainPage = new MainPage());
        }

        protected override void OnStart() {
            // Handle when your app starts
        }

        protected override void OnSleep() {
            // Handle when your app sleeps
        }

        protected override void OnResume() {
            // Handle when your app resumes
        }
    }
}